package com.kingstar.ceres.data.util;

import com.kingstar.ceres.data.bo.FileImportBO;
import com.kingstar.ceres.data.dto.FileImportDTO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

@Mapper
public interface BeanConvertUtils {

    BeanConvertUtils INSTANCE = Mappers.getMapper(BeanConvertUtils.class);

    @Mapping(target = "fileMappings", ignore = true)
    FileImportBO fileImportDTO2BO(FileImportDTO dto);
}
